.index-root{
    width: 100%;
    background-color: #fff;
    border-radius: 10px;
    // padding-bottom: 10px;
}
.index-root::-webkit-scrollbar {
    display: none;
}
.bookhed{
    display: flex;
    align-items: center;
    padding: 5px 15px;
    background-color: rgb(194, 236, 226);
    .userhead{
        width: 40px;
        height: 40px;
        margin: 0 10px;
    }
    .username-box{
        line-height: 20px;
        p{
            margin: 0;
            font-size: 14px;
        }
        &>p:first-child{
            font-weight: 700;
        }
        &>p:last-child{
            font-size: 12px;
        }
    }
    &>p{
        margin-left: auto;
        color: orange;
        font-size: 12px;
        font-weight: 900;
    }

}

.booklist-box{
    padding: 10px;
    li{
        border-radius: 5px;
        box-shadow: 1px 1px 3px 2px rgba(0, 0, 0, 0.3);
        padding: 5px 10px;
    }
    &>li+li{
        margin-top: 10px;
    }
    .bookbody{
        display: flex;
        align-items: center;
        .bookmsg{
            flex-grow: 1;
        }
        .bookcover{
            max-width: 80px;
            width: auto;
            height: 100px;
            margin: 0 10px;
        }
        .bookdesbecri{
            width:100%;
            overflow : hidden;
            text-overflow: ellipsis;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            span{
                font-weight: 700;
            }
        }
        .labelbox{
            font-size: 10px;
            padding: 2px 0;
            display: flex;
            align-items: center;
            margin: 0;
            span{
                padding: 1px 3px;
                border-radius: 3px;
            }
            &>span:first-child{
                background-color: orangered;
                color: #fff;
            }
            &>span:nth-child(2){
                background-color: #ddd;
                color: #666;
                margin: 0 5px;
            }
            &>span:nth-child(3){
                color: #999;
                margin: 0 5px;
                width: 90px;
                white-space: nowrap;
                overflow: hidden;
                text-overflow: ellipsis;
            }
        }
        .pricebox{
            display: flex;
            align-items: center;
            &>span:nth-of-type(1){
                color: red;
                font-weight: 700;
                font-size: 16px;
            }
            &>span:nth-of-type(2){
                font-size: 14px;
                color: #999;
                font-weight: 700;
                margin: 2px 10px 0 10px;
                text-decoration: line-through;
            }
            &>span:nth-of-type(3){
                font-size: 14px;
                width: 40px;
                text-align: center;
                color: #333;
                font-weight: 700;
            }
            button{
                background-color: rgb(35, 238, 245);
                width: 36px;
                height: 30px;
                margin: 3px 0;
                border: 0;
                color: #000;
                border-radius: 5px;
                font-size: 16px;
                font-weight: 900;
                height: 30px;
            }
            &>button:nth-of-type(1){
                margin-left: auto;
            }
        }
    }
}